<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CIpcIoClient类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="class_c_ipc_io_client-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CIpcIoClient类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a27c8c56ab77f1d4df1d2024663f2dd2d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a27c8c56ab77f1d4df1d2024663f2dd2d">CIpcIoClient</a> (bool isWriteLog=false)</td></tr>
<tr class="separator:a27c8c56ab77f1d4df1d2024663f2dd2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca4b5f3bb3e762a2cc57bdee808e35cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#aca4b5f3bb3e762a2cc57bdee808e35cc">~CIpcIoClient</a> ()</td></tr>
<tr class="separator:aca4b5f3bb3e762a2cc57bdee808e35cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9fd1c185c00db26211b8e34e9be1c99"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_sock_error.html">CSockError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#ad9fd1c185c00db26211b8e34e9be1c99">Init</a> (const char *name)</td></tr>
<tr class="memdesc:ad9fd1c185c00db26211b8e34e9be1c99"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化服务器类  <a href="class_c_ipc_io_client.html#ad9fd1c185c00db26211b8e34e9be1c99">更多...</a><br /></td></tr>
<tr class="separator:ad9fd1c185c00db26211b8e34e9be1c99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab275ab4b0d22be7cf137c3515cff8ae2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#ab275ab4b0d22be7cf137c3515cff8ae2">Run</a> ()</td></tr>
<tr class="memdesc:ab275ab4b0d22be7cf137c3515cff8ae2"><td class="mdescLeft">&#160;</td><td class="mdescRight">运行服务  <a href="class_c_ipc_io_client.html#ab275ab4b0d22be7cf137c3515cff8ae2">更多...</a><br /></td></tr>
<tr class="separator:ab275ab4b0d22be7cf137c3515cff8ae2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01a1ce80ca5a70dbed25529dc5db62e5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a01a1ce80ca5a70dbed25529dc5db62e5">Run_One</a> ()</td></tr>
<tr class="memdesc:a01a1ce80ca5a70dbed25529dc5db62e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">运行服务一次  <a href="class_c_ipc_io_client.html#a01a1ce80ca5a70dbed25529dc5db62e5">更多...</a><br /></td></tr>
<tr class="separator:a01a1ce80ca5a70dbed25529dc5db62e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72da74036456972da34111292c9003e7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a72da74036456972da34111292c9003e7">NotifyStop</a> ()</td></tr>
<tr class="memdesc:a72da74036456972da34111292c9003e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">通知服务停止  <a href="class_c_ipc_io_client.html#a72da74036456972da34111292c9003e7">更多...</a><br /></td></tr>
<tr class="separator:a72da74036456972da34111292c9003e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a34497c0663951afc9a68e97e44fa12"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a2a34497c0663951afc9a68e97e44fa12">IsStop</a> () const</td></tr>
<tr class="memdesc:a2a34497c0663951afc9a68e97e44fa12"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断服务是否已经停止  <a href="class_c_ipc_io_client.html#a2a34497c0663951afc9a68e97e44fa12">更多...</a><br /></td></tr>
<tr class="separator:a2a34497c0663951afc9a68e97e44fa12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79a2e0b9e5913b7b14cfb07b6644813a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a79a2e0b9e5913b7b14cfb07b6644813a">WaitServerStop</a> ()</td></tr>
<tr class="memdesc:a79a2e0b9e5913b7b14cfb07b6644813a"><td class="mdescLeft">&#160;</td><td class="mdescRight">通知服务停止并等待  <a href="class_c_ipc_io_client.html#a79a2e0b9e5913b7b14cfb07b6644813a">更多...</a><br /></td></tr>
<tr class="separator:a79a2e0b9e5913b7b14cfb07b6644813a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a717abc29fbd2ecb93392b2dae4f02d84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_basic_service.html">CBasicService</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a717abc29fbd2ecb93392b2dae4f02d84">GetIpcServicePtr</a> ()</td></tr>
<tr class="memdesc:a717abc29fbd2ecb93392b2dae4f02d84"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取底层服务类  <a href="class_c_ipc_io_client.html#a717abc29fbd2ecb93392b2dae4f02d84">更多...</a><br /></td></tr>
<tr class="separator:a717abc29fbd2ecb93392b2dae4f02d84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">投递一个接收连接请求</div></td></tr>
<tr><td colspan="2"><div class="groupText"><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>待连接的套接字类 </td></tr>
    <tr><td class="paramname">func</td><td>完成回调函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>用户传递的数据 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>备注</dt><dd>不管投递的成功与否，都会经过回调函数返回给上层调用 </dd></dl>
</div></td></tr>
<tr class="memitem:abe169ec42f29ed8b1881b0e5bb33258e"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:abe169ec42f29ed8b1881b0e5bb33258e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#abe169ec42f29ed8b1881b0e5bb33258e">AsyncConnect</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, Func func)</td></tr>
<tr class="separator:abe169ec42f29ed8b1881b0e5bb33258e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bb38c09afdab4612051782843553735"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:a8bb38c09afdab4612051782843553735"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a8bb38c09afdab4612051782843553735">AsyncConnect</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, Func func, void *invoker)</td></tr>
<tr class="separator:a8bb38c09afdab4612051782843553735"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">投递一个接收请求</div></td></tr>
<tr><td colspan="2"><div class="groupText"><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>已连接的套接字类 </td></tr>
    <tr><td class="paramname">buff</td><td>接收缓冲 </td></tr>
    <tr><td class="paramname">func</td><td>完成函数指针 </td></tr>
    <tr><td class="paramname">invoker</td><td>用户传递的数据 </td></tr>
  </table>
  </dd>
</dl>
</div></td></tr>
<tr class="memitem:a030a4a0a8d8210da87f57995a4630c98"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:a030a4a0a8d8210da87f57995a4630c98"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a030a4a0a8d8210da87f57995a4630c98">AsyncRead</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;buff, Func func)</td></tr>
<tr class="separator:a030a4a0a8d8210da87f57995a4630c98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf11d559a206a99c38b4a858cd2da5f1"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:acf11d559a206a99c38b4a858cd2da5f1"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#acf11d559a206a99c38b4a858cd2da5f1">AsyncRead</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;buff, Func func, void *invoker)</td></tr>
<tr class="separator:acf11d559a206a99c38b4a858cd2da5f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">投递一个写请求</div></td></tr>
<tr><td colspan="2"><div class="groupText"><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>已连接的套接字类 </td></tr>
    <tr><td class="paramname">buff</td><td>发送缓冲 </td></tr>
    <tr><td class="paramname">func</td><td>完成函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>用户传递的数据 </td></tr>
  </table>
  </dd>
</dl>
</div></td></tr>
<tr class="memitem:aeb2a0b700f2273f2b86dec06517093be"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:aeb2a0b700f2273f2b86dec06517093be"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#aeb2a0b700f2273f2b86dec06517093be">AsyncSend</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;buff, Func func)</td></tr>
<tr class="separator:aeb2a0b700f2273f2b86dec06517093be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e4a26fa7e772cf1fa44f38747021336"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:a2e4a26fa7e772cf1fa44f38747021336"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a2e4a26fa7e772cf1fa44f38747021336">AsyncSend</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;buff, Func func, void *invoker)</td></tr>
<tr class="separator:a2e4a26fa7e772cf1fa44f38747021336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">投递一个中断请求</div></td></tr>
<tr><td colspan="2"><div class="groupText"><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">func</td><td>完成回调函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>用户传递的数据 </td></tr>
  </table>
  </dd>
</dl>
</div></td></tr>
<tr class="memitem:a234bf94ea775d3e37ad660c34b9fdfb1"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:a234bf94ea775d3e37ad660c34b9fdfb1"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a234bf94ea775d3e37ad660c34b9fdfb1">Post</a> (Func func)</td></tr>
<tr class="separator:a234bf94ea775d3e37ad660c34b9fdfb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c808cf379e6d2129c0c64286d6800a2"><td class="memTemplParams" colspan="2">template&lt;class Func &gt; </td></tr>
<tr class="memitem:a7c808cf379e6d2129c0c64286d6800a2"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a7c808cf379e6d2129c0c64286d6800a2">Post</a> (Func func, void *invoker)</td></tr>
<tr class="separator:a7c808cf379e6d2129c0c64286d6800a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a846a435bc893dc53756170bbfbab7c21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_c_ipc_client.html">CIpcClient</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#a846a435bc893dc53756170bbfbab7c21">_service</a></td></tr>
<tr class="separator:a846a435bc893dc53756170bbfbab7c21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:abd36f2be4e4c8b3620ed5624dea70140"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_io_client.html#abd36f2be4e4c8b3620ed5624dea70140">delete_class_copy_operator</a> (<a class="el" href="class_c_ipc_io_client.html">CIpcIoClient</a>)</td></tr>
<tr class="separator:abd36f2be4e4c8b3620ed5624dea70140"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00006">6</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a27c8c56ab77f1d4df1d2024663f2dd2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27c8c56ab77f1d4df1d2024663f2dd2d">&#9670;&nbsp;</a></span>CIpcIoClient()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CIpcIoClient::CIpcIoClient </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isWriteLog</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00010">10</a> 行定义.</p>

</div>
</div>
<a id="aca4b5f3bb3e762a2cc57bdee808e35cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca4b5f3bb3e762a2cc57bdee808e35cc">&#9670;&nbsp;</a></span>~CIpcIoClient()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CIpcIoClient::~CIpcIoClient </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00014">14</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="abe169ec42f29ed8b1881b0e5bb33258e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe169ec42f29ed8b1881b0e5bb33258e">&#9670;&nbsp;</a></span>AsyncConnect() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::AsyncConnect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<a id="a8bb38c09afdab4612051782843553735"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bb38c09afdab4612051782843553735">&#9670;&nbsp;</a></span>AsyncConnect() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::AsyncConnect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00038">38</a> 行定义.</p>

</div>
</div>
<a id="a030a4a0a8d8210da87f57995a4630c98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a030a4a0a8d8210da87f57995a4630c98">&#9670;&nbsp;</a></span>AsyncRead() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::AsyncRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00052">52</a> 行定义.</p>

</div>
</div>
<a id="acf11d559a206a99c38b4a858cd2da5f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf11d559a206a99c38b4a858cd2da5f1">&#9670;&nbsp;</a></span>AsyncRead() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::AsyncRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00056">56</a> 行定义.</p>

</div>
</div>
<a id="aeb2a0b700f2273f2b86dec06517093be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb2a0b700f2273f2b86dec06517093be">&#9670;&nbsp;</a></span>AsyncSend() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::AsyncSend </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00070">70</a> 行定义.</p>

</div>
</div>
<a id="a2e4a26fa7e772cf1fa44f38747021336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e4a26fa7e772cf1fa44f38747021336">&#9670;&nbsp;</a></span>AsyncSend() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::AsyncSend </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00074">74</a> 行定义.</p>

</div>
</div>
<a id="abd36f2be4e4c8b3620ed5624dea70140"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd36f2be4e4c8b3620ed5624dea70140">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CIpcIoClient::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_io_client.html">CIpcIoClient</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a717abc29fbd2ecb93392b2dae4f02d84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a717abc29fbd2ecb93392b2dae4f02d84">&#9670;&nbsp;</a></span>GetIpcServicePtr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_basic_service.html">CBasicService</a>* CIpcIoClient::GetIpcServicePtr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取底层服务类 </p>

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00121">121</a> 行定义.</p>

</div>
</div>
<a id="ad9fd1c185c00db26211b8e34e9be1c99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9fd1c185c00db26211b8e34e9be1c99">&#9670;&nbsp;</a></span>Init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_sock_error.html">CSockError</a> CIpcIoClient::Init </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>初始化服务器类 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>进程间通信名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回SUCC，失败返回相应的错误码 </dd></dl>

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00021">21</a> 行定义.</p>

</div>
</div>
<a id="a2a34497c0663951afc9a68e97e44fa12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a34497c0663951afc9a68e97e44fa12">&#9670;&nbsp;</a></span>IsStop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CIpcIoClient::IsStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断服务是否已经停止 </p>

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00111">111</a> 行定义.</p>

</div>
</div>
<a id="a72da74036456972da34111292c9003e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72da74036456972da34111292c9003e7">&#9670;&nbsp;</a></span>NotifyStop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::NotifyStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通知服务停止 </p>

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00106">106</a> 行定义.</p>

</div>
</div>
<a id="a234bf94ea775d3e37ad660c34b9fdfb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a234bf94ea775d3e37ad660c34b9fdfb1">&#9670;&nbsp;</a></span>Post() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::Post </td>
          <td>(</td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00086">86</a> 行定义.</p>

</div>
</div>
<a id="a7c808cf379e6d2129c0c64286d6800a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c808cf379e6d2129c0c64286d6800a2">&#9670;&nbsp;</a></span>Post() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Func &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::Post </td>
          <td>(</td>
          <td class="paramtype">Func&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00090">90</a> 行定义.</p>

</div>
</div>
<a id="ab275ab4b0d22be7cf137c3515cff8ae2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab275ab4b0d22be7cf137c3515cff8ae2">&#9670;&nbsp;</a></span>Run()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CIpcIoClient::Run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>运行服务 </p>

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00096">96</a> 行定义.</p>

</div>
</div>
<a id="a01a1ce80ca5a70dbed25529dc5db62e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01a1ce80ca5a70dbed25529dc5db62e5">&#9670;&nbsp;</a></span>Run_One()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CIpcIoClient::Run_One </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>运行服务一次 </p>

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00101">101</a> 行定义.</p>

</div>
</div>
<a id="a79a2e0b9e5913b7b14cfb07b6644813a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79a2e0b9e5913b7b14cfb07b6644813a">&#9670;&nbsp;</a></span>WaitServerStop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcIoClient::WaitServerStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通知服务停止并等待 </p>

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00116">116</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a846a435bc893dc53756170bbfbab7c21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a846a435bc893dc53756170bbfbab7c21">&#9670;&nbsp;</a></span>_service</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_c_ipc_client.html">CIpcClient</a>&gt; CIpcIoClient::_service</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a> 第 <a class="el" href="_ipc_io_client_8h_source.html#l00126">126</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/ipc/<a class="el" href="_ipc_io_client_8h_source.html">IpcIoClient.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
